home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 476-500 / disk_500 / wiconify / wiconsetter.lzh / wIdentify / wIdentify.h < prev    next >
C/C++ Source or Header  |  1991-04-19  |  1KB  |  54 lines

  1. #ifndef INTUITION_PREFERENCES_H
  2. #define INTUITION_PREFERENCES_H             /* don't need em */
  3. #include <intuition/intuitionbase.h>
  4. #endif
  5. #include <libraries/dosextens.h>
  6.  
  7. #define PROGRAM         "wIdentify"
  8. #define VERSION         "v1.1"
  9. #define COPYRIGHT\
  10.    "Copyright (c) 1990 by Davide P. Cervone, all rights reserved"
  11.  
  12. #define USAGE           "wIdentify [WINDOW name] [SCREEN name] [ALL] [NEW]"
  13.  
  14. #define MAXNAME         80
  15.  
  16.  
  17. #define EXIT_ERROR      10
  18. #define EXIT_OK         0
  19. #define ONE             1L
  20.  
  21.  
  22. #define SHOW_USAGE      1
  23. #define JUST_EXIT       2
  24. #define IDENTIFY_NEW    3
  25. #define IDENTIFY_ONE    4
  26. #define IDENTIFY_ALL    5
  27.  
  28.  
  29. extern struct IntuitionBase *IntuitionBase;
  30. #define INTUITION_REV       0L
  31.  
  32. struct IdMessage
  33. {
  34.    struct Message Message;
  35.    struct Screen *Screen;
  36.    struct Window *Window;
  37.      #define SCREENICON     ((struct Window *)-1)
  38.    char *Program;
  39. };
  40.  
  41. extern struct MsgPort *IdPort;
  42. extern long LVOOpenWindow;
  43. extern long LVOSetWindowTitles;
  44. extern long LVOOpenScreen;
  45.  
  46. extern void aOpenWindow();
  47. extern void aSetWindowTitles();
  48. extern void aOpenScreen();
  49. extern long SetFunction();
  50. extern struct Process *FindTask();
  51. extern struct IdMessage *GetMsg();
  52. extern struct MsgPort *CreatePort();
  53.  
  54.